package com.one.consumer.user.model.item;

import com.one.common.utils.StringUtils;
import com.one.common.view.multitytype.adapter.BaseItem;

/**
 * author ：zhulunjun
 * email  ：zhulunjun@qq.com
 * date   ：2018/11/4 4:00 PM
 * description ：
 **/
public class LookUpItem extends BaseItem {
    private int invoice_id;//

    private String member_id;

    private String invoice_type;//类型 1:个人 2:公司

    private String invoice_name;//抬头内容

    private String invoice_company_name;//公司名称

    private String invoice_no;//税号

    private String invoice_company_address;//企业地址

    private String invoice_company_phone;//企业电话

    private String invoice_bank_name;//开户银行

    private String invoice_bank_no;//银行账号

    private String invoice_email;//邮箱

    private String is_default;//是否默认

    private String is_delete;//

    private String create_time;//

    private String update_time;//

    public int getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(int invoice_id) {
        this.invoice_id = invoice_id;
    }

    public String getMember_id() {
        return member_id;
    }

    public void setMember_id(String member_id) {
        this.member_id = member_id;
    }

    public String getInvoice_type() {
        return invoice_type;
    }

    public void setInvoice_type(String invoice_type) {
        this.invoice_type = invoice_type;
    }

    public String getInvoice_name() {
        return invoice_name;
    }

    public void setInvoice_name(String invoice_name) {
        this.invoice_name = invoice_name;
    }

    public String getInvoice_company_name() {
        return invoice_company_name;
    }

    public void setInvoice_company_name(String invoice_company_name) {
        this.invoice_company_name = invoice_company_name;
    }

    public String getInvoice_no() {
        return invoice_no;
    }

    public void setInvoice_no(String invoice_no) {
        this.invoice_no = invoice_no;
    }

    public String getInvoice_company_address() {
        return invoice_company_address;
    }

    public void setInvoice_company_address(String invoice_company_address) {
        this.invoice_company_address = invoice_company_address;
    }

    public String getInvoice_company_phone() {
        return invoice_company_phone;
    }

    public void setInvoice_company_phone(String invoice_company_phone) {
        this.invoice_company_phone = invoice_company_phone;
    }

    public String getInvoice_bank_name() {
        return invoice_bank_name;
    }

    public void setInvoice_bank_name(String invoice_bank_name) {
        this.invoice_bank_name = invoice_bank_name;
    }

    public String getInvoice_bank_no() {
        return invoice_bank_no;
    }

    public void setInvoice_bank_no(String invoice_bank_no) {
        this.invoice_bank_no = invoice_bank_no;
    }

    public String getInvoice_email() {
        return invoice_email;
    }

    public void setInvoice_email(String invoice_email) {
        this.invoice_email = invoice_email;
    }

    public boolean getIs_default() {
        return StringUtils.isNotBlank(is_default) && is_default.equals("1");
    }

    public void setIs_default(String is_default) {
        this.is_default = is_default;
    }

    public String getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(String is_delete) {
        this.is_delete = is_delete;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
